package com.atguigu.modStudy;

import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;

public class ObsidianGroup extends ItemGroup {
    //给物品栏创建图标
    @Override
    public ItemStack createIcon() {
        return new ItemStack(ItemRegistry.obsidianIngot.get());
    }

    //给黑曜石物品栏起一个名字
    public ObsidianGroup() {
        super("obsidian_group");
    }
}
